﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElevatorSimulator
{
    class Building
    {
        private static Building instance;
        private Building()
        {
        }
        public static Building Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new Building();
                }
                return instance;
            }
        }
        ~Building()
        {
        }

        int numFloors;
        int numElevators;

        public int getNumFloors()
        {
            return numFloors;
        }

        public int getNumElevators()
        {
            return numElevators;
        }

        public void setNumFloors(int floors)
        {
            numFloors = floors;
        }

        public void setNumElevators(int elevators)
        {
            numElevators = elevators;
        }


    }
}
